﻿using System.ComponentModel;

namespace Lanbt.Core.Entity.Enums
{
    #region power

    /// <summary>
    /// 权限类型
    /// </summary>
    public enum PowerType
    {
        /// <summary>
        /// 搜索时用
        /// </summary>
        None = 0,
        /// <summary>
        /// 文件夹
        /// </summary>
        [Description("文件夹")]
        Folder = 1,

        /// <summary>
        /// 页面
        /// </summary>
        [Description("页面")]
        Html = 2,

        /// <summary>
        /// 按钮
        /// </summary>
        [Description("按钮")]
        Button = 3,

        /// <summary>
        /// 权限
        /// </summary>
        [Description("权限")]
        Power = 4,
    }

    #endregion

    #region lanbt_config

    /// <summary>
    /// 系统配置键（1、邮箱配置）
    /// </summary>
    public enum SystemConfigKey
    {
        /// <summary>
        /// 空值
        /// </summary>
        None = 0,

        /// <summary>
        /// 邮箱配置
        /// </summary>
        [Description("config:system:lanbt.system.email.config")]
        SystemEmail = 1,
    }

    /// <summary>
    /// 用户设置
    /// </summary>
    public enum UserConfigKey
    {
        /// <summary>
        /// 空值
        /// </summary>
        None = 0,

        /// <summary>
        /// 系统设置
        /// </summary>
        [Description("config:user:lanbt.user.setting.config")]
        SystemSetting = 1,
    }

    #endregion
}
